#!/usr/bin/env bash
mkdir -p ../../data/tmp_classification_branch1/
mkdir -p ../../data/tmp_classification_branch1/data
mkdir -p ../../data/tmp_classification_branch1/models
mkdir -p ../../data/tmp_classification_branch1/results
cd ../../data/tmp_classification_branch1/data
ln -s ../../reduced_candidates/kaggle_stage2_candidates_v4.hdf5 kaggle_stage2_candidates_v4.hdf5
ln -s ../../reduced_candidates/kaggle_stage2_candidates_v10.hdf5 kaggle_stage2_candidates_v10.hdf5
ln -s ../../reduced_candidates/3dcnn_cddv15_v2_kaggle_stage2_candidates_v10.pkl 3dcnn_cddv15_v2_kaggle_stage2_candidates_v10.pkl
ln -s ../../reduced_candidates/3dcnn_kaggle_stage2_candidates_v4.pkl 3dcnn_kaggle_stage2_candidates_v4.pkl
cd ../../../code/classification_branch1

python predict_cmd.py --model_name=vgg_shortcut_cddv9_without_test --model_epoch=epoch-0099 --prob_thresh=0.1 --train_or_test=test \
 --candidate_file=3dcnn_kaggle_stage2_candidates_v4.pkl --candidate_vol_file=kaggle_stage2_candidates_v4.hdf5
python predict_cmd.py --model_name=vgg_shortcut_cddv9_with_test --model_epoch=epoch-0099 --prob_thresh=0.1 --train_or_test=test \
 --candidate_file=3dcnn_kaggle_stage2_candidates_v4.pkl --candidate_vol_file=kaggle_stage2_candidates_v4.hdf5

python predict_cmd.py --model_name=vgg_shortcut_cddv15_v2_without_test --model_epoch=epoch-0099 --prob_thresh=0.65 --train_or_test=test \
 --candidate_file=3dcnn_cddv15_v2_kaggle_stage2_candidates_v10.pkl --candidate_vol_file=kaggle_stage2_candidates_v10.hdf5
python predict_cmd.py --model_name=vgg_shortcut_cddv15_v2_with_test --model_epoch=epoch-0099 --prob_thresh=0.65 --train_or_test=test \
 --candidate_file=3dcnn_cddv15_v2_kaggle_stage2_candidates_v10.pkl --candidate_vol_file=kaggle_stage2_candidates_v10.hdf5